<template>
  <div>
    <h3 @click="handleClick">我是儿子组件</h3>
  </div>
</template>

<script>
export default{
  name: '',
  components: {},
  mounted(){
    this.$emit("btn",1,2,4)
  },
  methods:{
    handleClick(){
      this.$emit('click'),
      console.log("子组件点击事件");
    }
  }
};
</script>

<style scoped lang='scss'>

</style>